﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Shared.Master" AutoEventWireup="true"
    CodeBehind="archiveupdate.aspx.cs" Inherits="Lawyer.Web.archiveupdate" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script type="text/javascript">
        $(function() {
            $("#firstbtn").click(function() {
                $("li a[href='#pane-2']").click();
            });
            $("#secondbtn").click(function() {
                $("li a[href='#pane-3']").click();
            });
            $("#secondpre").click(function() {
                $("li a[href='#pane-1']").click();
            });
            $("#thirdbtn").click(function() {
                $("li a[href='#pane-4']").click();
            });
            $("#thirdpre").click(function() {
                $("li a[href='#pane-2']").click();
            });
            $("#fourthpre").click(function() {
                $("li a[href='#pane-3']").click();
            });
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainContent" runat="server">
    <div class="main-content">
        <header>
                            <ul class="action-buttons clearfix">
                                <%--<li><a id="opener" class="button">Simple Dialog</a></li>--%>
                            </ul>
                            <h2>Case</h2>
                        </header>
        <section class="container_6 clearfix">

                            <!-- Tabs Section -->
                            <div class="grid_6 leading">
                                <div class="tabs">
                                    <ul>
                                        <li><a href="#pane-1">Case - Basic</a></li>
                                        <li><a href="#pane-2">Step1 - Client</a></li>
                                        <li><a href="#pane-3">Step2 - Details</a></li>
                                        <li><a href="#pane-4">Step3 - Statement</a></li>
                                    </ul>
                                    <section id="pane-1">
                                       <div class="sliders clearfix">
                                          <div class="form">
                                            <div class="clearfix">
                                                    <label for="form2-name" class="form-label ">Case Title <em>*</em><small>Enter the case name</small></label>
                                                    <div class="form-input"><asp:TextBox id="txbCaseTitle" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                             <div class="clearfix">
                                                    <label for="form2-name" class="form-label ">Custom Name <em>*</em><small>Choose the custom name</small></label>
                                                    <div class="form-input"><asp:DropDownList ID="ddlCustom" runat="server"></asp:DropDownList></div>
                                                </div>
                                                <div class="clearfix">
                                                    <label for="form2-name" class="form-label ">From Agency <em>*</em><small>Come from agency?</small></label>
                                                    <div class="form-input"><asp:CheckBox ID="ckbIsAgency" runat="server" /></div>
                                                </div>
                                              <div class="clearfix">
                                                    <label for="form2-name" class="form-label ">Agency Name <em>*</em><small>Choose the agency name</small></label>
                                                    <div class="form-input"><asp:DropDownList ID="ddlAgency" runat="server"></asp:DropDownList></div>
                                                </div>
                                                <div class="clearfix">
                                                    <label for="form2-name" class="form-label ">Agency Rate(%) <em>*</em><small>Enter the commission rate</small></label>
                                                    <div class="form-input"><asp:TextBox ID="txbAgencyRate" runat="server"></asp:TextBox></div>
                                                </div>
                                          </div>
                                       </div>
                                       <div class="clearfix">
                                                <input type="button" class="large  button-gray ui-corner-all" value="Next" id="firstbtn" />
                                               </div>
                                    </section>
                                    <!-- tab "panes" -->
                                    <section id="pane-2">
                                        <div class="sliders clearfix">
                                          <div class="form">
                                         <div class="panel-grid2">
                                               <h3 class="title1">Client's Details</h3>
                                                <div class="clearfix">
                                                    <label for="form2-name" class="form-label ">Full Name <em>*</em><small>Enter client's name</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtFullName" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                <div class="clearfix">
                                                    <label for="form2-name" class="form-label ">Date of Birth<em>*</em><small>Choose client's birthday</small></label>
                                                    <div class="form-input"><asp:TextBox ID="txtBirthday" CssClass="datepicker" runat="server" Width="200px"  onfocus="setday(this)"></asp:TextBox></div>
                                                </div>
                                                <div class="clearfix">
                                                    <label for="form2-name" class="form-label ">Telpnone<em>*</em><small>Enter client's telphone</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtTelphone" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                <div class="clearfix">
                                                    <label for="form2-name" class="form-label ">Fax<em>*</em><small>Enter client's fax</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtFax" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label ">Address <em>*</em><small>A valid email address</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtAddress" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                           </div>
                                           <div class="panel-grid2">
                                                    <h3  class="title1">Correspondence Details</h3>
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">Full Name <em>*</em><small></small></label>
                                                    <div class="form-input"><asp:TextBox id="txtCFullName" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label  no-description ">Birthday <em>*</em><small>A valid email address</small></label>
                                                    <div class="form-input"><asp:TextBox ID="txtCBirthday"  CssClass="datepicker" runat="server" Width="200px"  onfocus="setday(this)"></asp:TextBox></div>
                                                </div>
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label  no-description">Telphone <em>*</em><small>A valid email address</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtCTelphone" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label  no-description">Fax <em>*</em><small>A valid email address</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtCFax" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label  no-description">Email <em>*</em><small>A valid email address</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtCEmail" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label  no-description">Address <em>*</em><small>A valid email address</small></label>
                                                    <div class="form-input"><asp:TextBox id="TextBox5" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label  no-description">Relation <em>*</em><small>A valid email address</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtCRelation" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                            </div>
                                            <div class="clear"></div>
                                            <div class="panel-grid1">
                                                <h3 class="title1">Matter</h3>
                                                <div class="subgrid2">
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label ">Funds <em>*</em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtBankFunds" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                               </div>
                                               <div class="subgrid2">
                                                
                                                    <div class="clearfix">
                                                    <label for="form2-email" class="form-label ">Account <em>*</em><small>Personal a/c or relative a/c</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtBankAccount" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                               </div>
                                            <div class="clear"></div>
                                            
                                           <div class="subgrid1">
                                           <h3 class="subtitle1"> Assets</h3>
                                            </div>
                                            <div class="subgrid3">  
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">a.Name <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtAssetAName" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">a.Worth <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtAssetAWorth" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">a.Short Note <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtAssetANote" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">c.Short Note <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtAssetADetail" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                               </div>
                                                <div class="subgrid3"> 
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">b.Name <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtAssetBName" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">b.Worth <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtAssetBWorth" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">b.Short Note <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtAssetBNote" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">c.Short Note <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtAssetBDetail" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                </div>
                                                 <div class="subgrid3">
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">c.Name <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtAssetCName" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">c.Worth <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtAssetCWorth" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">c.Short Note <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtAssetCNote" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">c.Short Note <em>*</em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtAssetCDetail" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                </div>
                                             </div> 
                                             <div class="clear"></div>
                                             
                                           </div>
                                          
                                           <div class="clearfix">
                                                <input type="button" class="large  button-gray ui-corner-all" value="Previous" id="secondpre" />
                                                <input type="button" class="large  button-gray ui-corner-all" value="Next" id="secondbtn" />
                                               </div>
                                        </div>
                                    </section>
                                    <section id="pane-3">
                                        <div class="vertical-sliders clearfix">
                                        
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">Case Source <em>*</em><small></small></label>
                                                    <div class="form-input"><asp:TextBox id="txtCaseSource" runat="server"></asp:TextBox></div>
                                                </div>
                                        
                                            <h3>Personal Detail</h3>
                                            <asp:TextBox id="txtPersonalDetail" runat="server" TextMode="MultiLine"></asp:TextBox>
                                            <h3>Personal Note</h3>
                                            <asp:TextBox id="txtPersonalNote" runat="server" TextMode="MultiLine"></asp:TextBox>
                                                
                                        </div>
                                        <div class="clearfix">
                                            <input type="button" class="large  button-gray ui-corner-all" value="Previous"  id="thirdpre" />
                                                <input type="button" class="large  button-gray ui-corner-all" value="Next" id="thirdbtn" />
                                               </div>
                                    </section>
                                    <section id="pane-4">
                                    <div class="form">
                                                <div class="panel-grid1">
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">Agreed Fees <em>*</em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtAgreedFees" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">  <em>*</em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input">
                                                    <asp:RadioButtonList ID="rblClusive" runat="server" RepeatLayout="Flow" >
                                                        <asp:ListItem Text="inclusive" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="exclusive" Value="1"></asp:ListItem>
                                                    </asp:RadioButtonList>
                                                    </div>
                                                </div>
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">  <em>*</em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input">
                                                    <asp:RadioButtonList ID="rblFundable" runat="server" RepeatLayout="Flow">
                                                        <asp:ListItem Text="Non refundable" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="refundable" Value="1"></asp:ListItem>
                                                    </asp:RadioButtonList>
                                                    </div>
                                                </div>
                                                </div>
                                                
                                                
                                                <div class="panel-grid2">
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">Father Name <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtFatherName" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                 <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">Father DOB <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtFatherDOB" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                 <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">Father Nationality <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtFatherNationality" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                 <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">Father Contact <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtFatherContact" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                </div>
                                                
                                                <div class="panel-grid2">
                                                
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">Mother Name <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtMotherName" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                 <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">Mother DOB <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtMotherDOB" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                 <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">Mother Nationality <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtMotherNationality" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">Mother Contact <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtMotherContact" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                </div>
                                                
                                                <div class="panel-grid2">
                                                
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">Sister Name <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtSisterName" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                 <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">Sister DOB <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtSisterDOB" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                 <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">Sister Nationality <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtSisterNationality" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">Sister Contact <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtSisterContact" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                </div>
                                                
                                                <div class="panel-grid2">
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">Brother Name <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtBrotherName" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                 <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">Brother DOB <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtBrotherDOB" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                 <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">Brother Nationality <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtBrotherNationality" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">Brother Contact <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtBrotherContact" runat="server" Width="200px"></asp:TextBox></div>
                                                </div>
                                                </div>
                                               
                                                <div class="panel-grid1">
                                                <div class="subgrid2">
                                        <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">Personal Statement <em></em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtPersonalStatement" runat="server" Width="200px" TextMode="MultiLine"></asp:TextBox></div>
                                                </div>
                                                </div>
                                                <div class="subgrid2">
                                              <div class="clearfix">
                                                    <label for="form2-email" class="form-label no-description">Worker Note& Todo List<em>*</em><small>Funds Available in Bank</small></label>
                                                    <div class="form-input"><asp:TextBox id="txtLawyerNote" runat="server" Width="200px" TextMode="MultiLine"></asp:TextBox></asp:TextBox></div>
                                                </div>
                                                </div>
                                                </div>
                                                <div class="clearfix">
                                                <input type="button" class="large  button-gray ui-corner-all" value="Previous" id="fourthpre" />
                                    <asp:Button ID="btnSubmit" CssClass="large  button-gray ui-corner-all "  Text="Submit" runat="server" 
                                        onclick="btnSubmit_Click" />                                                </div>
                                        </div>
                                    </section>


                                </div>
                            </div>
                            <!-- End Tabs Section -->
                        </section>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="SideBar" runat="server">
    <nav>
    <a class="chevron" href="#">&raquo;</a>
    <ul>
    <li class="current"><a href="archiveadd.aspx">New Case</a></li>
    <li><a href="archivelist.aspx">My  Case</a></li>
    <li><a href="archivelist.aspx?status=0">Pending Case</a></li>
    <li><a href="archivelist.aspx?status=1">Aassigned to me</a></li>
    <li><a href="archivelist.aspx?status=2">Ongoing  Case</a></li>
    <li><a href="archivelist.aspx?status=3">Case Activities</a></li>
    <li><a href="archivelist.aspx?status=4">Closed Case</a></li>

    </ul>
</nav>
</asp:Content>
